@echo off

echo push resource

hdc_std shell mount -o rw,remount /
hdc_std shell mkdir -p /system/lib64

hdc_std file send  testNapi/libdistributed.z.so  /system/lib/module/data/libdistributed.z.so
hdc_std file send  testNapi/libdisDataProcess.z.so  /system/lib64/libdisDataProcess.z.so
hdc_std file send  testSevice/disTest  /data/local/tmp/disTest

hdc_std shell chmod 777 /data/local/tmp/disTest

echo push permission  file

hdc_std file send   softbus_trans_permission.json  /system/etc/communication/softbus/softbus_trans_permission.json

hdc_std shell chmod 644  /system/etc/communication/softbus/softbus_trans_permission.json

hdc_std shell reboot

pause
